<!doctype html>
<html>

<head>
    <meta charset="utf-8">
    <meta name="viewport" content="maximum-scale=1.0,minimum-scale=1.0,user-scalable=0,width=device-width,initial-scale=1.0" />
    <meta name="format-detection" content="telephone=no,email=no,date=no,address=no">
    <link rel="stylesheet" href="../../css/app.css">
    <title>购物车</title>
</head>

<body>
    <div class="header fixStatusBar">
        <div class="wrapper">
            <span class="title">购物车</span>
            <span class="header-btn right-btn del"></span>
        </div>
    </div>
    <div class="container top-container">
        <!--
        <ul ng-if="orders.length > 0">
            <li ng-repeat="o in orders" class="cart-item-li">
                <div class="cart-item-order-div">
                    <div class="cart-item-order-child">
                        <img ng-click="select($index)" ng-if="o.is_selected != 1" src="../../image/noselect.png">
                        <img ng-click="select($index);" ng-if="o.is_selected == 1" src="../../image/select.png">
                        <span>订单号:{{o.order_sn}}</span>
                    </div>
                    <span class="cart-order-state-span">{{o.state}}</span>
                </div>
                <div class="cart-item-addr-div">
                    <span class="cart-item_addr-name">{{o.name}}</span>
                    <span class="cart-item_addr-phone">{{o.phone}}</span>
                </div>
                <div ng-repeat="g in o.goods" class="cart-order-detail-div">
                    <div class="cart-order-detail-child">
                        <img ng-src="{{g.image}}" image-resize width="80px" goods="1">
                    </div>
                    <div class="cart-order-detail-blank">
                        <div class="cart-order-detail">
                            <span class="cart-order-detail-first">{{g.name}}</span>
                            <span class="cart-order-detail-second">¥{{g.price}}</span>
                        </div>
                        <span class="cart-order-detail-span">规格：{{g.option_name}}</span>
                    </div>
                </div>
                <div class="cart-order-add-div">
                    <p class="cart-add-first-p">共 <span>{{o.goods_count}}</span> 件商品，运费 <span>{{o.express_amount}}</span>元</p>
                    <p class="cart-add-second-p">合计: <span>¥ {{o.order_amount}}</span></p>
                </div>
            </li>
        </ul>
      -->
        <div class="dt-gad-no-record" ng-if="orders.length == 0">
            <img src="../../image/classify34.png" />
            <span>亲，您暂无购物车记录</span>
        </div>
        <div class="cart-bottom-add-div">
            <div class="cart-bottom-add-child">
                <div class="cart-bottom-child-div">
                    <img ng-click="select_all()" ng-if="is_selected != 1 " class="cart-bottom-radius-img" src="../../image/noselect.png">
                    <!--<img ng-click="select_all();" ng-if="is_selected == 1" class="cart-bottom-radius-img" src="../../image/select.png">-->
                    <span class="cart-bottom-all-select">全选</span>
                    <span class="cart-bottom-all-add">合计:</span>
                    <span class="cart-bottom-all-money">¥ 10.50</span>
                </div>
                <div class="cart-bottom-buy-div">
                    <a ng-click="sub()" class="cart-bottom-buy-a">结算</a>
                </div>
            </div>
        </div>
    </div>
</body>
<script type="text/javascript" src="../../script/api.js"></script>
<script type="text/javascript" src="../../script/app.js"></script>
<script type="text/javascript" src="../../script/html/cart/index.js"></script>
</html>
